const { Controller } = require("uni-cloud-router");
module.exports = class AddressController extends Controller {
	add(){
		const { ctx, service } = this;
		return this.service.address.add();
	}
	list(){
		const { ctx, service } = this;
		return this.service.address.list();
	}
	getOne(){
		const { ctx, service } = this;
		return this.service.address.getOne();
	}
	edit(){
		const { ctx, service } = this;
		return this.service.address.edit();
	}
};